// pages/home/index.js
Page({
  data: {
    footerLayout: [
      {
        url: "home/index",
        label: "主页",
        icon: "home"
      },
      {
        url: 'activity/index',
        label: "动态",
        icon: "activity"
      },
      //   {
      //   url: 'help/index',
      //   label: "互助",
      //   icon: "help"
      // }, {
      //   url: 'portal/index',
      //   label: "传送",
      //   icon: "portal"
      // },
      {
        url: "me/index",
        label: "我的",
        icon: "me"
      }
    ]
  },
  onShareTimeline() {
    return {
      title: "棠小果",
      imageUrl: "https://pyg.subit.org.cn/static/banner.png",
    };
  },
  onShareAppMessage(res) {
    return {
      title: "棠小果",
      imageUrl: "https://pyg.subit.org.cn/static/banner.png",
    };
  }
})
